import { AxesHelper, GridHelper, Object3D, PointLightHelper } from "three"

import { pointLight } from "./Tlight"

export const helperList: Object3D[] = []


//添加一个辅助的线条  参数控制辅助线条的大小
const axesHelper: AxesHelper = new AxesHelper(300)
//添加地板网格  范围  均分多少份  主轴颜色  网格边框颜色
const gridHelper: GridHelper = new GridHelper(500, 20, 'rgb(255,100,100)', 'rgb(100,100,100)')
//点光源帮助？
const pointLightHelper: PointLightHelper = new PointLightHelper(pointLight)

//物体对象被统一放置到另外一个ts中统一管理
//this.scene.add(box)
//this.scene.add(axesHelper)
//this.scene.add(gridHelper)

//添加并输出两个helper变量
helperList.push(axesHelper, gridHelper, pointLightHelper)